<?php
unset($_SESSION['login']);//Hủy biến SESSION
unset($_COOKIE['rememberuser']);//Hủy biến COOKIE
setcookie('rememberuser','',time()-1);//Hủy file COOKIE
header('Location: index.php');
?>